package dao;

import model.Student;

import java.util.List;

public interface StudentDao {
    int addStudent(Student student);

    List<Student> getAll(String stuname, String stuno, int stusex, int pageIndex, int pageSize);

    int total(String stuname, String stuno, int stusex);

    Student findById(int sid);

    int updateStudent(Student student);

    int deleteById(int id);

    int deleteStats(int sid);
}
